<template lang="html">
  <div class="changjian">
            <h3 class="dujia_h3">
                <span class="h3_01"></span>
                <span class="h3_02">邮轮旅行常见问答</span>
                <a href="javascript:void(0)" class="h3_a">更多</a>
            </h3>
            <ul>
                <li v-for="item in question">
                  <h3 class="cj_h3">{{item.question}}</h3>
                  <p class="changjian_span">{{item.answer}}</p>
                </li>
            </ul>
        </div>
</template>

<script>
export default {
  props:['question']
}
</script>

<style lang="css" scoped>
.changjian {
    padding: 0px 10px;
    background-color: #fff;
    border-bottom: 1px solid #d1d0d1;
    text-align: left;
}
.dujia_h3 {
    width: 100%;
    padding: 10px 0px;
    padding-right: 10px;
    position: relative;
    margin-left: -5px;
}
.h3_01 {
    height: 18px;
    background-color: #ffaa01;
    width: 6px;
    border-radius: 4px;
    display: inline-block;
    position: absolute;
    z-index: 2;
    left: 5px;
    top: 15px;
}
.h3_02 {
    font-size: 16px;
    margin-left: 20px;
    color: #333333;
}
.h3_a {
    padding-right: 15px;
    background: url(../../../static/images/xq_11.jpg) no-repeat right center;
    background-size: 7px;
    font-size: 14px;
    color: #00b0ec;
    position: absolute;
    right: 5px;
    top: 13px;
    z-index: 2;
}
.changjian ul {
    width: 100%;
}
.changjian ul li {
    width: 100%;
    padding: 5px 0px 10px;
}
.cj_h3 {
    width: 100%;
    font-size: 14px;
    color: #ffaa01;
    padding-bottom: 8px;
}
.changjian_span {
    width: 100%;
    color: #333333;
    font-size: 12px;
    line-height: 20px;
    height: 60px;
    overflow: hidden;
    display: inline-block;
}
</style>
